package cn.data.collection.constant;

public enum BusConstant {
	E_1001("1001", "步骤一发生错误"), 
	E_1002("1002", "步骤二发生错误"), 
	E_1003("1003", "步骤三发生错误"), 
	E_1004("1004", "步骤四发生错误"), 
	
	E_2001("2001", "该名称预先核准号不存在,请核对您输入的号码是否有误。请正确选择“名称预先核准号”和“注册号”。"),
	E_2002("2002", "获取验证码错误！"),
	E_2003("2003", "获取预定数据错误！"),
	E_2004("2004", "执行下一步发生错误！"),
	E_2005("2005", "获取公司名称发生错误！"),
	
	E_10001("10001", "系统发生未知的错误！"),
	
	B_80001("80001", "数据采集成功了！"),
	B_80002("80002", "已驳回！"),
	B_80005("80005", "打码失败!"),
	B_80006("80006", "打码成功!"),
	S_1001("1001", "线程终止!");

	private String code;
	private String value;

	private BusConstant(String code, String value) {
		this.code = code;
		this.value = value;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

}
